package com.maker.service;

import com.alipay.api.AlipayApiException;
import com.maker.entity.RefundInfo;

import java.util.Map;

public interface AlipayDevelopService {

    //创建订单
     String trateCreate(Long productId);

    //通知验签
    String rsaCheckV1(Map<String, String> params);
    //处理订单
    void processOrder(Map<String,String> params);
    //记录日志
    void  processOrderLogForAlipay(Map<String,String> params);

    void cancelOrder(String orderNo);

    String queryOrder(String orderNo);
    void checkOrderStatus(String orderNo);
    void checkRefundOrderStatus(String orderNo);
    RefundInfo  refund(String orderNo, String reason);
    String queryTradeBill(String billdate, String type);
}